Skip to content

fix(deps): update module go.yaml.in/yaml/v4 to v4.0.0-rc.6#78

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go.yaml.in-yaml-v4-4.x
Open

fix(deps): update module go.yaml.in/yaml/v4 to v4.0.0-rc.6#78
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go.yaml.in-yaml-v4-4.x

Conversation

@renovate

@renovate renovate Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
go.yaml.in/yaml/v4 v4.0.0-rc.4v4.0.0-rc.6 age confidence

Release Notes

yaml/go-yaml (go.yaml.in/yaml/v4)

v4.0.0-rc.6

Compare Source

v4.0.0-rc.5

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@socket-security

socket-security Bot commented Jun 16, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgolang/​go.yaml.in/​yaml/​v4@​v4.0.0-rc.4 ⏵ v4.0.0-rc.697100100100100

View full report

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

Version Changes: v4.0.0-rc.4 → v4.0.0-rc.6 (2 intermediate releases)

v4.0.0-rc.6 (June 17, 2026)

  • GitHub Actions dependency updates only: Updated checkout (6.0.2→6.0.3), codeql-action (4.35.5→4.36.1), typos (1.46.2→1.47.2)
  • Type: Maintenance update
  • No code changes: This release only updates CI/CD dependencies

v4.0.0-rc.5 (June 8-13, 2026)

  • Bug Fix: Fixed !!merge tag regression affecting yq compatibility (issue #2677)
    • The resolver-assigned merge tag is now properly elided during encoding
    • Distinguishes between explicit tags (preserved) and implicit tags (stripped)
  • Bug Fix: Restored v3-compatible behavior for empty YAML streams
    • Unmarshal now treats empty and comment-only streams as no-ops
    • Decoder.Decode reports io.EOF for empty streams
  • GitHub Actions updates: Multiple dependency bumps for codeql-action and typos

Major Refactoring Between Releases (rc.4 → rc.5)

While not directly impacting the API, the library underwent significant internal refactoring:

  • Unified load/dump entry points through Loader/Dumper
  • Implemented 3-stage dump pipeline (Representer → Desolver → Serializer)
  • Separated resolution from composition stage
  • Moved Loader and Dumper to internal/libyaml
  • Code organization improvements and comprehensive test coverage

Breaking Changes: None identified
Security Fixes: None reported
API Stability: Full backward compatibility maintained

🎯 Impact Scope Investigation

Usage Analysis

The codebase has minimal usage of go.yaml.in/yaml/v4:

Single Usage Point:

  • e2e/e2e_test.go:235 - Uses yaml.Unmarshal() to parse YAML test case files
    err = yaml.Unmarshal(data, &tf)

Impact Assessment:

  • ✅ The yaml.Unmarshal() function signature remains unchanged
  • ✅ The function behavior is backward compatible
  • ✅ No usage of deprecated or removed functions
  • ✅ No usage of advanced features affected by internal refactoring

Verification Results

Build Status: ✅ Success

go build -o sandbox .  # Completed without errors

Unit Test Status: ✅ All Pass

go test ./...
✓ cmd/gocacheprog      (0.010s)
✓ internal/handler     (0.006s)
✓ internal/middleware  (0.457s)
✓ internal/sandbox     (0.007s)

Dependency Tree Impact: ✅ No conflicts

  • The update only changes go.yaml.in/yaml/v4 from rc.4 to rc.6
  • No transitive dependency changes
  • Module import path remains identical: aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0=

💡 Recommended Actions

Immediate Actions

  1. Merge the PR - This is a safe update with bug fixes and maintenance improvements
  2. No code changes required - The existing codebase is fully compatible

Post-Merge Verification (Optional)

  1. Run E2E test suite to verify YAML test file parsing still works correctly:
    docker compose down && docker compose up --build -d
    go test -tags e2e ./e2e/...

Why This Is Safe

  • Minimal surface area: Only one yaml.Unmarshal() call in the entire codebase
  • Bug fixes included: The !!merge tag regression fix improves reliability
  • Empty stream handling: Better v3 compatibility for edge cases
  • No breaking changes: API remains stable across rc.4 → rc.6
  • Verified compatibility: Build and unit tests pass successfully

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

@renovate renovate Bot force-pushed the renovate/go.yaml.in-yaml-v4-4.x branch from 9dffc15 to 7942868 Compare June 24, 2026 14:15
@renovate renovate Bot changed the title fix(deps): update module go.yaml.in/yaml/v4 to v4.0.0-rc.5 fix(deps): update module go.yaml.in/yaml/v4 to v4.0.0-rc.6 Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants